/**
 * @author yxw
 * date : 2014年1月28日 下午7:07:36 
 */
package com.tzinfo.tzb.domain;

import java.io.Serializable;
import java.util.List;

public class ClassList {
	public static ClassList dao=null;
	
	private boolean success;
	private String msg;
	private List<ClassData> data;

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public List<ClassData> getData() {
		return data;
	}

	public void setData(List<ClassData> data) {
		this.data = data;
	}

	public static class ClassData {
		private int ID;

		private String Name;

		private List<ClassSubMenu> SubMenu;

		public int getID() {
			return ID;
		}

		public void setID(int iD) {
			ID = iD;
		}

		public String getName() {
			return Name;
		}

		public void setName(String name) {
			Name = name;
		}

		public List<ClassSubMenu> getSubMenu() {
			return SubMenu;
		}

		public void setSubMenu(List<ClassSubMenu> subMenu) {
			SubMenu = subMenu;
		}

		public static class ClassSubMenu implements Serializable {

			private int ID;

			private int ParentId;

			private String Name;

			private String PicFile;

			private int ForumId;

			private int ForumType;

			public int getID() {
				return ID;
			}

			public void setID(int iD) {
				ID = iD;
			}

			public int getParentId() {
				return ParentId;
			}

			public void setParentId(int parentId) {
				ParentId = parentId;
			}

			public String getName() {
				return Name;
			}

			public void setName(String name) {
				Name = name;
			}

			public String getPicFile() {
				return PicFile;
			}

			public void setPicFile(String picFile) {
				PicFile = picFile;
			}

			public int getForumId() {
				return ForumId;
			}

			public void setForumId(int forumId) {
				ForumId = forumId;
			}

			public int getForumType() {
				return ForumType;
			}

			public void setForumType(int forumType) {
				ForumType = forumType;
			}

			@Override
			public String toString() {
				return "ClassSubMenu [ID=" + ID + ", ParentId=" + ParentId
						+ ", Name=" + Name + ", PicFile=" + PicFile
						+ ", ForumId=" + ForumId + ", ForumType=" + ForumType
						+ "]";
			}
		}

		@Override
		public String toString() {
			return "ClassData [ID=" + ID + ", Name=" + Name + ", SubMenu="
					+ SubMenu + "]";
		}
	}

	@Override
	public String toString() {
		return "ClassList [success=" + success + ", msg=" + msg + ", data="
				+ data + "]";
	}

}
